<template>
  <InnerOrderForm :innerOrderId="innerOrderId"></InnerOrderForm>
</template>
<script setup name="EditInnerOrder">
import { useRoute, useRouter } from 'vue-router'
import InnerOrderForm from '@/views/sourceManage/innerOrder/modules/innerOrderForm'
const route = useRoute()
let innerOrderId = ref(null)
watch(
  () => route.query.innerOrderId,
  val => {
    if (route.query.innerOrderId) {
      innerOrderId.value = route.query.innerOrderId
    }
  },
  {
    immediate: true
  }
)
</script>
